package com.shendu.task.domain;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 部门表
 * @author unsky
 *
 */
@Document
public class DepartDoc extends BaseDoc {
	private String name;
	private String no;
	private Integer userCount=0;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public Integer getUserCount() {
		return userCount==null?0:userCount;
	}
	public void setUserCount(Integer userCount) {
		this.userCount = userCount;
	}
	
}	
